package com.yunju.xuexin.xuexincrawler.Model;

import java.io.Serializable;

/**
 * 响应请求
 * 
 * @author liuzhijun
 *
 */
public class RestVo implements Serializable{

	private int resCode;
	private String msg;
	private Object obj;
	private boolean verifyCode;
	private String sessionId;

	public static RestVo build() {
		return new RestVo();
	}

	public int getResCode() {
		return resCode;
	}

	public RestVo setResCode(int resCode) {
		this.resCode = resCode;
		return this;
	}

	public String getMsg() {
		return msg;
	}

	public RestVo setMsg(String msg) {
		this.msg = msg;
		return this;
	}

	public Object getObj() {
		return obj;
	}

	public RestVo setObj(Object obj) {
		this.obj = obj;
		return this;
	}

	public boolean isVerifyCode() {
		return verifyCode;
	}

	public RestVo setVerifyCode(boolean verifyCode) {
		this.verifyCode = verifyCode;
		return this;
	}

	public String getSessionId() {
		return sessionId;
	}

	public RestVo setSessionId(String sessionId) {
		this.sessionId = sessionId;
		return this;
	}
}
